home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
f90
/
huge.z
/
huge
Wrap
Text File
|
1998-10-30
|
4KB
|
84 lines
HUGE(3I) Last changed: 1-6-98
NNAAMMEE
HHUUGGEE - Returns the largest number in the integer or real numeric model
SSYYNNOOPPSSIISS
HHUUGGEE (([XX==]_x))
IIMMPPLLEEMMEENNTTAATTIIOONN
UNICOS, UNICOS/mk, and IRIX systems
SSTTAANNDDAARRDDSS
Fortran 90
DDEESSCCRRIIPPTTIIOONN
The HHUUGGEE intrinsic function returns the largest number in the model
representing numbers of the same type and kind type parameter as the
argument _x. It accepts the following argument:
_x Must be of type integer or real. It may be scalar or array
valued.
HHUUGGEE is an inquiry function. The name of this intrinsic cannot be
passed as an argument.
NNOOTTEESS
On UNICOS systems, both execution speed and the number of bits used in
mathematical operations are affected when compiling with
ff9900 --OO ffaassttiinntt, which is the default setting. For more information,
see _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-
3901.
RREETTUURRNN VVAALLUUEESS
The result is a scalar value of the same type and kind type parameter
as _x.
_q
The result has the value _r -1 if _x is of type integer and the value
-_p _e sub max
(1-_b ) multiplied by _b if _x is of type real, where _r, _q, _b,
_p, and
_e (represented as "_e sub max" in the previous equation) are
max
as defined in the real number model, which represents numbers of the
same type and kind type parameter as _x. For more information on the
real number model, see the MMOODDEELLSS(3I) man page.
EEXXAAMMPPLLEESS
On UNICOS systems, HHUUGGEE((XX)) has a value that approximates
-47 8189
(1-2 ) multiplied by 2 for real XX.
On CRAY T90 systems that support IEEE floating-point arithmetic,
HHUUGGEE((XX)) has values that approximate the following:
-24 128
* (1-2 ) multiplied by 2 for real ((KKIINNDD==44)) XX
-53 1024
* (1-2 ) multiplied by 2 for real ((KKIINNDD==88)) XX
-113 16384
* (1-2 ) multiplied by 2 for real ((KKIINNDD==1166)) XX
On UNICOS/mk systems, HHUUGGEE((XX)) has values that approximate the
following:
-24 128
* (1-2 ) multiplied by 2 for real ((KKIINNDD==44)) XX
-53 1024
* (1-2 ) multiplied by 2 for real ((KKIINNDD==88)) XX
On IRIX systems, HHUUGGEE((XX)) has values that approximate the following:
-24 128
* (1-2 ) multiplied by 2 for real ((KKIINNDD==44)) XX
-53 1024
* (1-2 ) multiplied by 2 for real ((KKIINNDD==88)) XX
-107 1023
* (1-2 ) multiplied by 2 for real ((KKIINNDD==1166)) XX
SSEEEE AALLSSOO
MMOODDEELLSS(3I)
_I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
printed version of this man page.